interface C{
    int Calculate(int a,int b);
}
public class Main {
    public static void main(String[] args) {
        C add=(a,b)->a+b;
        int r=add.Calculate(10,5);
        System.out.println(r);
        C sub=(a,b)->a-b;
        int l=sub.Calculate(10,5);
        System.out.println(l);
    }
}